package com.codrim.cs.data.server.rpc.report;

import com.codrim.cs.data.rpc.dto.param.StatisticDataDTO;
import com.codrim.cs.data.server.dao.entity.StatCsAffOfferDO;

/**
 * @author Liang.Zhuge on 14/08/2017.
 */
public class StatCsAffOfferHelper extends AbstractStatDataHelper<StatCsAffOfferDO> {

    @Override
    GroupKey[] groupKeys() {
        return new GroupKey[]{GroupKey.AffiliateId, GroupKey.OfferId, GroupKey.Symbol};
    }

    @Override
    protected StatCsAffOfferDO initKeyFields(int sdate, StatisticDataDTO dayC) {
        return new StatCsAffOfferDO(sdate, dayC);
    }

}
